package com.yidu.king.service;

import com.yidu.king.domain.Person;

import java.util.List;

/**
 * <p>@author yidu-liandyao</p>
 * <p>@Date: 2021-01-13</p>
 * <p>@Time: 9:05</p>
 * <p>@Description: No Description</p>
 */
public interface PersonService {
    /**
     * 查询人员
     * @param person
     * @return
     */
    List<Person> selectAll(Person person);

    /**
     * 查询行数
     * @param person
     * @return
     */
    int selectCount(Person person);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Person record);

    Person selectByPrimaryKey(Integer id);


    int updateByPrimaryKeySelective(Person record);
}
